package com.d3works.apps.base.service;

import com.d3works.apps.base.db.ProductCategory;
import com.d3works.exception.D3worksException;

public interface ProductCategoryDomainCreatorService {
  /**
   * Find child of given category, and recursively children of found children. Then create a domain
   * to filter the children from the parent category list.
   *
   * @param productCategory
   * @return
   * @throws D3worksException
   */
  String createProductCategoryDomainFilteringChildren(ProductCategory productCategory)
      throws D3worksException;
}
